
import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View, TextInput} from 'react-native';
import {Util} from '../util'
const instructions = Platform.select({
    ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
    android:
        'Double tap R on your keyboard to reload,\n' +
        'Shake or press menu button for dev menu',
});

type Props = {};
export default class search extends Component<Props> {
    constructor(props){
        super(props);
    }
    render() {
        return (
            <View style={styles.container}>
                <TextInput style={styles.search_input} placeholder="搜索" placeholderTextColor='#5E6877'/>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container:{
      paddingLeft: 10,
        paddingRight: 10,
        marginTop: 20
    },
    search_input:{
        height: 35,
        borderWidth: Util.pixel,
        borderColor: '#EEE',
        paddingLeft: 5,
        borderRadius: 3,
        fontSize: 16
    },
});